<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery.js"></script>
<!-- 
<script type="text/javascript" src="../uploadify/swfobject.js"></script>
<script type="text/javascript" src="../uploadify/jquery.uploadify.v2.1.4.js"></script> -->
<script type="text/javascript" src="../js/jquery-ui-1.8.16.custom.min.js"></script>
<!-- <script type="text/javascript" src="../js/ajaxfileupload.js"></script> -->
<link rel="stylesheet" type="text/css" href="../css/jquery-ui-1.8.16.custom.css">

<style>
.navigateButton
{
	padding: 10px;
	cursor: pointer;
}
</style>
<title>Edit Avatar</title>
</head>
<body>
<jsp:include page="../WEB-INF/head.jsp"></jsp:include>
<div id="mainForm">
<font class="bigBlue">Edit account data</font><hr>
<jsp:include page="lft_editData_navi.jsp"></jsp:include>
<div class="roundRec" style="margin-left: 240px;">
Upload your new avatar.<hr>
<font size="2px;">Your avatar is system-default  avatar unless you set a new one.</font><br><br>
<c:if test="${user.avatarFile==null }">
<img src="../avatar/default.jpg">
</c:if><br>
<img src="../img/loading.gif" id="loading" style="display: none;">
<form action="uploadAction!uploadFile.action?disName=ap${user_session.id }&targetDir=avatar&result=cropAvatar" 
id="uploadForm" enctype="multipart/form-data" method="post">
<input name="upload" type="file" />
<input type="submit" value="next">
</form>






</div>
</div>

</body>
<script>
$("#editDataNavi1").addClass("selected2");
</script>
</html>